Optimal. Leaf size=260 \[ -\frac {5 e^3 \sqrt {d+e x}}{64 b^3 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e^2 \sqrt {d+e x}}{32 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {5 e^4 (a+b x) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{64 b^{7/2} (b d-a e)^{3/2} \sqrt {a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 260, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {660, 43, 44, 65,
214} \begin {gather*} -\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {5 e^4 (a+b x) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{64 b^{7/2} \sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^{3/2}}-\frac {5 e^3 \sqrt {d+e x}}{64 b^3 \sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)}-\frac {5 e^2 \sqrt {d+e x}}{32 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 44
Rule 65
Rule 214
Rule 660
Rubi steps
\begin {align*} \int \frac {(d+e x)^{5/2}}{\left (a^2+2 a b x+b^2 x^2\right )^{5/2}} \, dx &=\frac {\left (b^4 \left (a b+b^2 x\right )\right ) \int \frac {(d+e x)^{5/2}}{\left (a b+b^2 x\right )^5} \, dx}{\sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {\left (5 b^2 e \left (a b+b^2 x\right )\right ) \int \frac {(d+e x)^{3/2}}{\left (a b+b^2 x\right )^4} \, dx}{8 \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {\left (5 e^2 \left (a b+b^2 x\right )\right ) \int \frac {\sqrt {d+e x}}{\left (a b+b^2 x\right )^3} \, dx}{16 \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {5 e^2 \sqrt {d+e x}}{32 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {\left (5 e^3 \left (a b+b^2 x\right )\right ) \int \frac {1}{\left (a b+b^2 x\right )^2 \sqrt {d+e x}} \, dx}{64 b^2 \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {5 e^3 \sqrt {d+e x}}{64 b^3 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e^2 \sqrt {d+e x}}{32 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\left (5 e^4 \left (a b+b^2 x\right )\right ) \int \frac {1}{\left (a b+b^2 x\right ) \sqrt {d+e x}} \, dx}{128 b^3 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {5 e^3 \sqrt {d+e x}}{64 b^3 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e^2 \sqrt {d+e x}}{32 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\left (5 e^3 \left (a b+b^2 x\right )\right ) \text {Subst}\left (\int \frac {1}{a b-\frac {b^2 d}{e}+\frac {b^2 x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{64 b^3 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {5 e^3 \sqrt {d+e x}}{64 b^3 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e^2 \sqrt {d+e x}}{32 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {5 e (d+e x)^{3/2}}{24 b^2 (a+b x)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {(d+e x)^{5/2}}{4 b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {5 e^4 (a+b x) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{64 b^{7/2} (b d-a e)^{3/2} \sqrt {a^2+2 a b x+b^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.91, size = 194, normalized size = 0.75 \begin {gather*} \frac {e^4 (a+b x)^5 \left (\frac {\sqrt {b} \sqrt {d+e x} \left (-15 a^3 e^3-5 a^2 b e^2 (2 d+11 e x)-a b^2 e \left (8 d^2+36 d e x+73 e^2 x^2\right )+b^3 \left (48 d^3+136 d^2 e x+118 d e^2 x^2+15 e^3 x^3\right )\right )}{e^4 (-b d+a e) (a+b x)^4}+\frac {15 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {-b d+a e}}\right )}{(-b d+a e)^{3/2}}\right )}{192 b^{7/2} \left ((a+b x)^2\right )^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(476\) vs.
\(2(177)=354\).
time = 0.77, size = 477, normalized size = 1.83
method | result | size |
default | \(\frac {\left (15 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) b^{4} e^{4} x^{4}+60 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a \,b^{3} e^{4} x^{3}+15 \sqrt {b \left (a e -b d \right )}\, \left (e x +d \right )^{\frac {7}{2}} b^{3}+90 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a^{2} b^{2} e^{4} x^{2}-73 \sqrt {b \left (a e -b d \right )}\, \left (e x +d \right )^{\frac {5}{2}} a \,b^{2} e +73 \sqrt {b \left (a e -b d \right )}\, \left (e x +d \right )^{\frac {5}{2}} b^{3} d +60 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a^{3} b \,e^{4} x -55 \sqrt {b \left (a e -b d \right )}\, \left (e x +d \right )^{\frac {3}{2}} a^{2} b \,e^{2}+110 \sqrt {b \left (a e -b d \right )}\, \left (e x +d \right )^{\frac {3}{2}} a \,b^{2} d e -55 \sqrt {b \left (a e -b d \right )}\, \left (e x +d \right )^{\frac {3}{2}} b^{3} d^{2}+15 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a^{4} e^{4}-15 \sqrt {b \left (a e -b d \right )}\, \sqrt {e x +d}\, a^{3} e^{3}+45 \sqrt {b \left (a e -b d \right )}\, \sqrt {e x +d}\, a^{2} b d \,e^{2}-45 \sqrt {b \left (a e -b d \right )}\, \sqrt {e x +d}\, a \,b^{2} d^{2} e +15 \sqrt {b \left (a e -b d \right )}\, \sqrt {e x +d}\, b^{3} d^{3}\right ) \left (b x +a \right )}{192 \sqrt {b \left (a e -b d \right )}\, \left (a e -b d \right ) b^{3} \left (\left (b x +a \right )^{2}\right )^{\frac {5}{2}}}\) | \(477\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 423 vs.
\(2 (183) = 366\).
time = 3.02, size = 861, normalized size = 3.31 \begin {gather*} \left [-\frac {15 \, {\left (b^{4} x^{4} + 4 \, a b^{3} x^{3} + 6 \, a^{2} b^{2} x^{2} + 4 \, a^{3} b x + a^{4}\right )} \sqrt {b^{2} d - a b e} e^{4} \log \left (\frac {2 \, b d + {\left (b x - a\right )} e - 2 \, \sqrt {b^{2} d - a b e} \sqrt {x e + d}}{b x + a}\right ) + 2 \, {\left (48 \, b^{5} d^{4} - {\left (15 \, a b^{4} x^{3} - 73 \, a^{2} b^{3} x^{2} - 55 \, a^{3} b^{2} x - 15 \, a^{4} b\right )} e^{4} + {\left (15 \, b^{5} d x^{3} - 191 \, a b^{4} d x^{2} - 19 \, a^{2} b^{3} d x - 5 \, a^{3} b^{2} d\right )} e^{3} + 2 \, {\left (59 \, b^{5} d^{2} x^{2} - 86 \, a b^{4} d^{2} x - a^{2} b^{3} d^{2}\right )} e^{2} + 8 \, {\left (17 \, b^{5} d^{3} x - 7 \, a b^{4} d^{3}\right )} e\right )} \sqrt {x e + d}}{384 \, {\left (b^{10} d^{2} x^{4} + 4 \, a b^{9} d^{2} x^{3} + 6 \, a^{2} b^{8} d^{2} x^{2} + 4 \, a^{3} b^{7} d^{2} x + a^{4} b^{6} d^{2} + {\left (a^{2} b^{8} x^{4} + 4 \, a^{3} b^{7} x^{3} + 6 \, a^{4} b^{6} x^{2} + 4 \, a^{5} b^{5} x + a^{6} b^{4}\right )} e^{2} - 2 \, {\left (a b^{9} d x^{4} + 4 \, a^{2} b^{8} d x^{3} + 6 \, a^{3} b^{7} d x^{2} + 4 \, a^{4} b^{6} d x + a^{5} b^{5} d\right )} e\right )}}, -\frac {15 \, {\left (b^{4} x^{4} + 4 \, a b^{3} x^{3} + 6 \, a^{2} b^{2} x^{2} + 4 \, a^{3} b x + a^{4}\right )} \sqrt {-b^{2} d + a b e} \arctan \left (\frac {\sqrt {-b^{2} d + a b e} \sqrt {x e + d}}{b x e + b d}\right ) e^{4} + {\left (48 \, b^{5} d^{4} - {\left (15 \, a b^{4} x^{3} - 73 \, a^{2} b^{3} x^{2} - 55 \, a^{3} b^{2} x - 15 \, a^{4} b\right )} e^{4} + {\left (15 \, b^{5} d x^{3} - 191 \, a b^{4} d x^{2} - 19 \, a^{2} b^{3} d x - 5 \, a^{3} b^{2} d\right )} e^{3} + 2 \, {\left (59 \, b^{5} d^{2} x^{2} - 86 \, a b^{4} d^{2} x - a^{2} b^{3} d^{2}\right )} e^{2} + 8 \, {\left (17 \, b^{5} d^{3} x - 7 \, a b^{4} d^{3}\right )} e\right )} \sqrt {x e + d}}{192 \, {\left (b^{10} d^{2} x^{4} + 4 \, a b^{9} d^{2} x^{3} + 6 \, a^{2} b^{8} d^{2} x^{2} + 4 \, a^{3} b^{7} d^{2} x + a^{4} b^{6} d^{2} + {\left (a^{2} b^{8} x^{4} + 4 \, a^{3} b^{7} x^{3} + 6 \, a^{4} b^{6} x^{2} + 4 \, a^{5} b^{5} x + a^{6} b^{4}\right )} e^{2} - 2 \, {\left (a b^{9} d x^{4} + 4 \, a^{2} b^{8} d x^{3} + 6 \, a^{3} b^{7} d x^{2} + 4 \, a^{4} b^{6} d x + a^{5} b^{5} d\right )} e\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.21, size = 289, normalized size = 1.11 \begin {gather*} -\frac {5 \, \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right ) e^{4}}{64 \, {\left (b^{4} d \mathrm {sgn}\left (b x + a\right ) - a b^{3} e \mathrm {sgn}\left (b x + a\right )\right )} \sqrt {-b^{2} d + a b e}} - \frac {15 \, {\left (x e + d\right )}^{\frac {7}{2}} b^{3} e^{4} + 73 \, {\left (x e + d\right )}^{\frac {5}{2}} b^{3} d e^{4} - 55 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{3} d^{2} e^{4} + 15 \, \sqrt {x e + d} b^{3} d^{3} e^{4} - 73 \, {\left (x e + d\right )}^{\frac {5}{2}} a b^{2} e^{5} + 110 \, {\left (x e + d\right )}^{\frac {3}{2}} a b^{2} d e^{5} - 45 \, \sqrt {x e + d} a b^{2} d^{2} e^{5} - 55 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{2} b e^{6} + 45 \, \sqrt {x e + d} a^{2} b d e^{6} - 15 \, \sqrt {x e + d} a^{3} e^{7}}{192 \, {\left (b^{4} d \mathrm {sgn}\left (b x + a\right ) - a b^{3} e \mathrm {sgn}\left (b x + a\right )\right )} {\left ({\left (x e + d\right )} b - b d + a e\right )}^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (d+e\,x\right )}^{5/2}}{{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________